package de.matusystems

class ContentProviderService {

	def getLatestEntries() {

		def content = []

		def entry1 = [:]
		def entry2 = [:]
		def entry3 = [:]

		entry1['title'] = "Underworld: Awakening (2012)"
		entry1['text'] = "When human forces discover the existence of the Vampire and Lycan clans, a war to eradicate both species commences. The vampire warrioress Selene leads the battle against humankind."
		entry1['image'] = "http://ia.media-imdb.com/images/M/MV5BMjAxMjc0ODk0OF5BMl5BanBnXkFtZTcwMTc5NDQwNw@@._V1._SX640_SY944_.jpg"

		entry2['title'] = "The Grey (2012)"
		entry2['text'] = "In Alaska, an oil drilling team struggle to survive after a plane crash strands them in the wild. Hunting the humans are a pack of wolves who see them as intruders."
		entry2['image'] = "http://ia.media-imdb.com/images/M/MV5BNDY4MTQwMzc1MV5BMl5BanBnXkFtZTcwNzcwNTM5Ng@@._V1._SX640_SY987_.jpg"

		entry3['title'] = "Man on a Ledge (2012)"
		entry3['text'] = "As a police psychologist works to talk down an ex-con who is threatening to jump from a Manhattan hotel rooftop, the biggest diamond heist ever committed is in motion..."
		entry3['image'] = "http://ia.media-imdb.com/images/M/MV5BMTc5MTE4MzY2N15BMl5BanBnXkFtZTcwNjMwNDc3Ng@@._V1._SX640_SY949_.jpg"

		content << entry1
		content << entry2
		content << entry3

		return content
	}
}
